package com.hunter11;

/**
 * ͼ����
 */
public class Books {
	private int id;
	private String name;// 书名
	private double price;// 价格
	private int number;// 库存数量
	private double money;// 总价
	private String Publish;// 出版社

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public String getPublish() {
		return Publish;
	}

	public void setPublish(String publish) {
		Publish = publish;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public Books(int id, String name, double price, int number, double money, String Publish) {
		this.id = id;
		this.name = name;
		this.price = price;
		this.number = number;
		this.money = money;
		this.Publish = Publish;
	}

	@Override
	public String toString() {
		String message = "图书编号：" + id + " " + "图书名称：" + name + " " + "出版社：" + Publish + " " + "单价：" + price + " " + "库存数量："
				+ number + " ";
		return message;
	}

}
